#if !defined(AFX_AWTCHECKBOXPEER_H__93563A2F_68C2_11D2_A410_006097A44215__INCLUDED_)
#define AFX_AWTCHECKBOXPEER_H__93563A2F_68C2_11D2_A410_006097A44215__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// AWTCheckboxPeer.h : header file
//

#include "AWTCheckboxGroup.h"

/////////////////////////////////////////////////////////////////////////////
// AWTCheckboxPeer window

class AWTCheckboxPeer : public CButton
{
// Construction
public:
	AWTCheckboxPeer(AWTComponent* comp);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(AWTCheckboxPeer)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~AWTCheckboxPeer();

	void setCheckboxGroup(AWTCheckboxGroup* g){};
	void setState(BOOL state)
		{SetCheck(state != FALSE);}

	// Generated message map functions
protected:
	//{{AFX_MSG(AWTCheckboxPeer)
	afx_msg void OnMove(int x, int y);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnClicked();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnDestroy();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

	AWTComponent* m_comp;
	CWnd* m_AWTWindow;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AWTCHECKBOXPEER_H__93563A2F_68C2_11D2_A410_006097A44215__INCLUDED_)
